from sqlalchemy import Column, DateTime, Integer, String
from database.db_init import Base


class Plot_crop(Base):
    __tablename__ = "Plot_Crop"
    ID = Column(Integer, primary_key=True, index=True)
    CropName = Column(String, unique=False)
    PlantingStartDate = Column(DateTime, unique=False)
    PlantingEndDate = Column(DateTime, unique=False)
    CropPropertiesJSON = Column(String, unique=False)
